package cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Setter
@Getter
public class SoftwareCopyright {
    private Integer id;
    private String name;
    private Integer departmentId;
    private Integer firstTeacherId;
    private Date date;
    private String position;
    private String introduction;
    private Integer subjectId;
    private String remarks;
    private Integer status; // 0-待审核，1-通过，2-驳回
    private Date createTime;
    private Date updateTime;

    // 关联属性
    private Employee firstEmployee;
    private Subject subject;
    private List<Employee> employees; // 所有申报人
    private List<Attachment> attachments; // 附件列表

    // 非数据库字段，用于前端展示
    private Integer employeeCount; // 申报人数量

    public void setEmployees(List<Employee> employees) {
    }

    public void setFirstEmployeeId(Integer firstEmployeeId) {
    }
}
